<?php
/**
 * The template for displaying all pages.
 *
 * This is the template that displays all pages by default.
 * Please note that this is the WordPress construct of pages
 * and that other 'pages' on your WordPress site will use a
 * different template.
 *
 * @package WordPress
 * @subpackage Twenty_Ten
 * @since Twenty Ten 1.0
 */

get_header(); ?>
<div class="center_wrapper">
	<div class="main_content padding15px">		
	
	<div class="group title_wrapper">
		<div class="left"><img src="<?php bloginfo( 'template_url' ); ?>/images/content_logo.png" alt="content logo" /></div>
		<div class="left title_holder">
			<h1 class="entry-title">
				<span>
					<?php if ( is_day() ) : ?>
							<?php printf( __( 'Daily Archives: %s', 'twentyeleven' ), '<span>' . get_the_date() . '</span>' ); ?>
						<?php elseif ( is_month() ) : ?>
							<?php printf( __( 'Monthly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( _x( 'F Y', 'monthly archives date format', 'twentyeleven' ) ) . '</span>' ); ?>
						<?php elseif ( is_year() ) : ?>
							<?php printf( __( 'Yearly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( _x( 'Y', 'yearly archives date format', 'twentyeleven' ) ) . '</span>' ); ?>
						<?php else : ?>
							<?php _e( 'Blog Archives', 'twentyeleven' ); ?>
						<?php endif; ?>
				</span>
			</h1>
		</div>
	</div>
	
	<div class="group">
		<div class="blog_content_left left">
			<?php
				/* Run the loop to output the page.
				 * If you want to overload this in a child theme then include a file
				 * called loop-page.php and that will be used instead.
				 */
				get_template_part( 'loop','blog' );
			?>
		</div>
		<div class="blog_content_right right">
			<div id="sidebar">
				<?php get_sidebar(); ?>
			</div>
		</div>
	</div>
	
	</div>	
</div>
<?php get_footer(); ?>		